package com.gh.blog.mapper;

import com.gh.blog.entity.Category;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {

    Category findById(@Param("id") String id);

    List<Category> findAllCategory();
}
